package com.ddlottery.dao;

import com.ddlottery.model.DDorder;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Repository
public interface DDorderMapper {
    int deleteByPrimaryKey(Integer oid);

    int insert(DDorder record);

    int insertSelective(DDorder record);

    DDorder selectByPrimaryKey(Integer oid);

    int updateByPrimaryKeySelective(DDorder record);

    int updateByPrimaryKey(DDorder record);

    ArrayList<DDorder> selectByOther(DDorder record,PageBounds pageBounds);

    ArrayList<DDorder> selectByNow(DDorder record,PageBounds pageBounds);

    int machUpdateList(Integer bid);

    ArrayList<DDorder> machOrderList(Integer bid);

    int bidCount(Integer bid);
}